public class Main {
    public static void main(String[] args) {
        Component L1=new ComponentComposite("L1");
        Component Leaf_1_1=new ComponentLeaf("Leaf_1_1");
        Component Leaf_1_2=new ComponentLeaf("Leaf_1_2");

        L1.addChild(Leaf_1_1);
        L1.addChild(Leaf_1_2);

        Component L2=new ComponentComposite("L2");
        Component Leaf_2_1=new ComponentLeaf("Leaf_2_1");
        Component Leaf_2_2=new ComponentLeaf("Leaf_2_2");
        Component Leaf_2_3=new ComponentLeaf("Leaf_2_3");
        Component Leaf_2_4=new ComponentLeaf("Leaf_2_4");
        L2.addChild(Leaf_2_1);
        L2.addChild(Leaf_2_2);
        L2.addChild(Leaf_2_3);
        L2.addChild(Leaf_2_4);

        L1.addChild(L2);

        L1.operation();
    }
}

